package work;

import java.util.*;



public class MainClass {

	public static void main(String[] args) {
		Student[] stus = new Student[10];
		Random r = new Random();
		for(int i=0;i<10;i++) {
			stus[i] = new Student();
			stus[i].Name();
			stus[i].Sex();
			stus[i].Birthday();
		}
		Arrays.sort(stus);
		for(Student s:stus) {
			System.out.println(s);
		}
		
	}

}
